package APP1.bookShop.people;
import java.util.LinkedList;
import java.util.Set;
import java.util.List;
import APP1.bookShop.book.Book;
import java.util.ArrayList;
import java.util.HashSet;


public class Author
{
	
	
	public String firstName;	
	public String lastName;
	public List<Book> books;
	
        
	public Author(){
            books=new ArrayList();
		
	}

        public Author(String firstN, String lastN){
		this.firstName=firstN;
                this.lastName=lastN;
	}

        
	public String getFirstName() {
		return firstName;
	}
	
	public String getLastName() {
		
	return lastName;
	}
	

	
	public List<Book> getBookList() {
			
		return this.books;
	}

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    @Override
    public String toString() {
        return firstName+" "+lastName;
    }

        
        
        
        
}

